package com.jiangxfei.mymvp.app.home.mvp;

import com.jiangxfei.mymvp.app.home.bean.CarBean;
import com.jiangxfei.mymvp.base.IModel;
import com.jiangxfei.mymvp.base.IPresenter;
import com.jiangxfei.mymvp.base.IView;
import com.jiangxfei.mymvp.http.net.OnLoadCallback;

import java.util.List;

/**
 * @author: JiangXFei
 * @date: 2018/1/9 0009
 * @content:
 */

public class HomeConstract {

    public interface LoadAllModel extends IModel{
       void loadAll(OnLoadCallback callback);
    }

    public interface LoadAllView extends IView<List<CarBean>> {
        void loadOnSuccess(List<CarBean> list);
    }

    public interface LoadAllPersenter extends IPresenter {
        void loadAll();
    }
}
